﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RootfusHostView;

namespace RoofusUIControls
{
    /// <summary>
    /// Tracks what each item's input pin is connected to.
    /// </summary>
    class RootfusSurfaceItemInputConnection
    {
        /// <summary>
        /// The input pin we are representing.
        /// </summary>
        private PinDefinition _input_pin;

        /// <summary>
        /// Gets the input pin this guy represents.
        /// </summary>
        public PinDefinition InputPin
        {
            get { return _input_pin; }
        }

        /// <summary>
        /// Start us up.
        /// </summary>
        /// <param name="pin_to_rep">The input pin this guy will be tracking</param>
        public RootfusSurfaceItemInputConnection(PinDefinition pin_to_rep)
        {
            _input_pin = pin_to_rep;
        }


    }
}
